import { prop } from "@typegoose/typegoose";
import { Base } from "./base";

/** 访问日志 */
export class AccessLog extends Base {

  @prop({})
  path: string;

  @prop({})
  ua: string;

  @prop({})
  ip: string;

  @prop({})
  user?: string;
}